package com.zhangjie.apiboss.service;

import com.zhangjie.apiboss.controller.DriverCarBindingRelationshipController;
import com.zhangjie.apiboss.remote.ServiceDriverUserClient;
import com.zhangjie.internalcommon.dto.DriverCarBindingRelationship;
import com.zhangjie.internalcommon.dto.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther: zj
 * @Date: 2024/2/28 - 02 - 28 - 9:22
 * @Description: com.zhangjie.apiboss.service
 * @version: 1.0
 */
@Service
public class DriverCarBindingRelationshipService {

    @Autowired
    ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult bind(DriverCarBindingRelationship driverCarBindingRelationship){
        return serviceDriverUserClient.bind(driverCarBindingRelationship);
    }

    public ResponseResult unbind(DriverCarBindingRelationship driverCarBindingRelationship){
        return serviceDriverUserClient.unbind(driverCarBindingRelationship);
    }
}
